<?php
$config = [
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=localhost;dbname=test_yii2advanced',
            'username' => 'test',
            'password' => '',
            'charset' => 'utf8mb4',
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            'useFileTransport' => true,
        ],
    ],
    'params' => [
        'yiichina-username' => '',
        'yiichina-password' => '',
        'versions' => [
            'serverVersion' => 2025,
        ],
        'beiAn' => [ // 备案信息
            'href' => '',
            'numbering' => '',
        ],
    ],
];

return $config;
